package com.cw.demo.service.impl;
import com.cw.demo.dao.impl.DaoEmp;
import com.cw.demo.model.Emp;
import com.cw.demo.service.DeptService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class DeptServiceImpl implements DeptService {
 @Autowired
private DaoEmp daoEmp;

    public List<Emp> findByParam(Emp param) {
        return daoEmp.findByParam(param);
        }
        }
